package com.chx.ajxtest.bean;

public class Travel {

/*
*
* aaa
*
* */
    /**
     * id : 1
     * name : 11
     * number : 1
     * price : 1.0
     * king 修改测试222222222
     */

    private int id;
    private String name;
    private int number;
    private double price;

    public Travel() {
    }

    public Travel(String name, int number, double price) {
        this.name = name;
        this.number = number;
        this.price = price;
    }

    public Travel(int id, String name, int number, double price) {
        this.id = id;
        this.name = name;
        this.number = number;
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Travel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", number=" + number +
                ", price=" + price +
                '}';
    }
}
